<?php
$this->breadcrumbs=array(
	'Stores',
);

$this->menu=array(
	array('label'=>'Create Store', 'url'=>array('create')),
	array('label'=>'Manage Store', 'url'=>array('admin')),
);
?>

<h1>Stores</h1>

<?php $this->widget('zii.widgets.grid.CGridView', array(
	'dataProvider'=>$dataProvider,
	'columns'=>array(
		array(
			'value'=>'$data->product->name',
			'header'=>'Product'
		),
		array(
			'value'=>'$data->product->firm->name',
			'header'=>'Firm'
		),
		array(
			'value'=>'$data->recommendpricesell',
			'header'=>'Price'
		),
		'product.price',
		'unsoldcount'
	)
)); ?>
